<template>
  <div>
    <router-view></router-view>
    <service-bar></service-bar>
    <nav-footer></nav-footer>
  </div>
</template>

<script>
import ServiceBar from './../components/ServiceBar'
import NavFooter from './../components/NavFooter'

export default {
  name: 'order',
  data(){
    return{
      // title: '',
      // tip: ''
    }
  },
  components:{
    ServiceBar,
    NavFooter
  },
  // mounted(){
  //   let path = this.$route.path;
  //   if(path == '/order/confirm'){
  //     this.titlt = '订单确认';
  //     this.tip = '请认真填写收货地址';
  //   }else if(path == '/order/list'){
  //     this.titlt = '订单列表';
  //     this.tip = '请谨慎防钓鱼链接或诈骗电话，了解更多>';
  //   }else if(path == 'order/pay'){
  //     this.titlt = '订单支付';
  //     this.tip = '请谨慎防钓鱼链接或诈骗电话，了解更多>';
  //   }
  // }
}
</script>